package org.feifei.basic.domain;


import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.feifei.org.domain.Department;
import org.feifei.org.domain.Shop;

import java.io.Serializable;

/**
 * 抽离出的实体类中 公共的基类
 * 包含了共同的属性
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Getter
@Setter
@EqualsAndHashCode
public class BaseDomain implements Serializable {
    private static final long serialVersionUID = -8176221965975982780L;
    @ApiModelProperty("id")
    private Long id; //主键

}
